package practice2;
/*
 * 调用算面积
 */
public class Rectangle {
	private double broad;
	private double length;

	public Rectangle(double d, double e) {
		this.broad = d;
		this.length = e;
	}

	public void count() {
		double count = broad * length;
		System.out.println(count);
	}

	public static void main(String[] args) {
		Rectangle rectangle = new Rectangle(2.45, 4.43);
		rectangle.count();
	}
}
